/****************************************************
 * Description: Service for 菜单
 * Copyright:   Copyright (c) 2013
 * Company:     beiwaionline
 * @author      bfsu
 * @version     1.0
 * @see
	HISTORY
    *  2013-08-08 bfsu Create File
**************************************************/

package com.bfsuol.bfsuolframework.security.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bfsuol.bfsuolframework.security.dao.Menu;
import com.bfsuol.bfsuolframework.security.entity.dto.MenuDTO;

import java.util.List;

public interface MenuService extends IService<Menu> {

    /**
     * 删除菜单
     * @param menuId 菜单的id
     * @return
     */
    boolean deleteMenu(Long menuId);

    List<Menu> findAll();

    List<MenuDTO> getCategoryMenus();

    List<MenuDTO> findParentMenus();

    List<MenuDTO> findChildMenus(Long parentId);
}
